<!--page begin-->
<nav aria-label="Page navigation">
    <ul class="pagination">
        <th:block th:if="${pageInfo.isHasPreviousPage()}">
        <li>
            <a th:href="${pageBaseUrl}+${pageInfo.getPageNum()-1}" aria-label="Previous">
                <span aria-hidden="true">上一页</span>
            </a>
        </li>
        </th:block>

        <th:block th:each="page,iterStatus:${pageList}">
            <th:block th:if="${iterStatus.count} neq ${pageInfo.getPageNum()}">
                <li>
                    <a th:href="${page}" th:text="${iterStatus.count}"></a>
                </li>
            </th:block>
            <th:block th:if="${iterStatus.count} eq ${pageInfo.getPageNum()}">
                <li class="active">
                    <span th:text="${iterStatus.count}"></span>
                </li>
            </th:block>
        </th:block>




        <th:block th:if="${pageInfo.isHasNextPage()}">
        <li>
            <a th:href="${pageBaseUrl}+${pageInfo.getPageNum()+1}" aria-label="Next">
                <span aria-hidden="true">下一页</span>
            </a>
        </li>
        </th:block>
    </ul>
</nav>
<!--page end -->